package com.qtummatrix.dao;

import com.qtummatrix.entity.BlackList;

import java.util.List;

/**
 * create by Gongshiyong  2019-12-07 11:23
 */
public interface BlacklistDao {
    //查询所有的条件
    public List<BlackList> findBlacklist();
    //根据条件查询
    public List<BlackList> findBlacklist(String UID, String name, String source, String state, int first, int rows);

    //添加黑名单成员
    public int addBlacklist(String UID, String name, String mark, String type, String source);

    //查询数据库里的黑名单审核
    public List<BlackList> findBlacklistAudit(String UID, String name, String source, String type, int first, int rows);

    //查询所有的黑名单审核
    public List<BlackList> findBlacklistAudit();

    //删除黑名单的审核
    public void deleteBlacklistAudit(int id);

    //审核黑名单
    public void updateBlackAudit(int id);
}
